<?php
	session_start();
	
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<title>Registrar Curso</title>
	<?php
		include("../scripts.php");
	?>
	<script type="text/javascript">
$(function() {
	$('#txtfecha').datepick();
	$('#txtfechaf').datepick();
});

</script>
<style type="text/css">
@import "../css/jquery.datepick.css";
</style>
<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="../js/jquery.datepick.js"></script>
<script type="text/javascript" src="../js/jquery.datepick-es.js"></script>
<script language="JavaScript">
	
</script>
<head>	

<body>
<!--procesos en common.js-->	
<div id="main">	
	<?php
		include("../layout/header.php");
		include("../layout/sidebar.php");			
	?>
<form id="frmrgistrar" method="post" action="Registrar.php">
		<div id="registroevento">
			<h1>Registrar informaci&oacute;n evento</h1>
			<hr/>
			
				<!--Nombre del evento-->
				<div  class="divx">
					<label>Nombre</label>
					<input name="txtnombre" type="text" class="input" maxlength="50">
					<div id="msgnombre" class="error"></div>
				</div>
				<!--lugar del evento-->
				<div  class="divx">
					<label>Lugar</label>
					<input name="txtlugar" type="text" class="input" maxlength="50">
					<div id="msgnombre" class="error"></div>
				</div>
				<!--fecha del evento-->
				<div  class="divx">
					<label>Fecha</label>
					<input name="txtfecha" id="txtfecha"type="text" value="<?php echo date('d/m/Y') ?>" class="fecha" onchange="setdate();">
					<!--hora del evento-->
						
					<select id="txthora" name="txthora" onchange="settime();">
						<option value="0:00">12:00 am </option><option value="0:30">12:30 am </option>
						<option value="1:00">1:00 am </option><option value="1:30">1:30 am </option>
						<option value="2:00">2:00 am </option><option value="2:30">2:30 am </option>
						<option value="3:00">3:00 am </option><option value="3:30">3:30 am </option>
						<option value="4:00">4:00 am </option><option value="4:30">4:30 am </option>
						<option value="5:00">5:00 am </option><option value="5:30">5:30 am </option>
						<option value="6:00">6:00 am </option><option value="6:30">6:30 am </option>
						<option value="7:00" selected >7:00 am </option><option value="7:30">7:30 am </option>
						<option value="8:00">8:00 am </option><option value="8:30">8:30 am </option>
						<option value="9:00">9:00 am </option><option value="9:30">9:30 am </option>
						<option value="10:00 ">10:00 am </option><option value="10:30">10:30 am </option>
						<option value="11:00 ">11:00 am </option><option value="11:30">11:30 am </option>
						<option value="12:00">12:00 md </option><option value="12:30">12:30 md </option>						
						<option value="13:00">1:00 pm </option><option value="13:30">1:30 pm </option>
						<option value="14:00">2:00 pm </option><option value="14:30">2:30 pm </option>
						<option value="15:00">3:00 pm </option><option value="15:30">3:30 pm </option>
						<option value="16:00">4:00 pm </option><option value="16:30">4:30 pm </option>
						<option value="17:00">5:00 pm </option><option value="17:30">5:30 pm </option>
						<option value="18:00">6:00 pm </option><option value="18:30">6:30 pm </option>
						<option value="19:00">7:00 pm </option><option value="19:30">7:30 pm </option>
						<option value="20:00">8:00 pm </option><option value="20:30">8:30 pm </option>
						<option value="21:00">9:00 pm </option><option value="21:30">9:30 pm </option>
						<option value="22:00">10:00 pm </option><option value="22:30">10:30 pm </option>
						<option value="23:00">11:00 pm </option><option value="23:30">11:30 pm </option>
						
						
					</select>	
					<label class="in">a</label>
					<input name="txtfechaf" id="txtfechaf" type="text" value="<?php echo date('d/m/Y') ?>"  class="fecha" onclick="setdate();" onchange="setdate();">
					<!--hora final-->
					<select id="txthoraf" name="txthoraf" onchange="settime();">
						<option value="0:00">12:00 am </option><option value="0:30">12:30 am </option>
						<option value="1:00">1:00 am </option><option value="1:30">1:30 am </option>
						<option value="2:00">2:00 am </option><option value="2:30">2:30 am </option>
						<option value="3:00">3:00 am </option><option value="3:30">3:30 am </option>
						<option value="4:00">4:00 am </option><option value="4:30">4:30 am </option>
						<option value="5:00">5:00 am </option><option value="5:30">5:30 am </option>
						<option value="6:00">6:00 am </option><option value="6:30">6:30 am </option>
						<option value="7:00">7:00 am </option><option value="7:30"  selected>7:30 am </option>
						<option value="8:00">8:00 am </option><option value="8:30">8:30 am </option>
						<option value="9:00">9:00 am </option><option value="9:30">9:30 am </option>
						<option value="10:00 ">10:00 am </option><option value="10:30">10:30 am </option>
						<option value="11:00 ">11:00 am </option><option value="11:30">11:30 am </option>
						<option value="12:00">12:00 md </option><option value="12:30">12:30 md </option>						
						<option value="13:00">1:00 pm </option><option value="13:30">1:30 pm </option>
						<option value="14:00">2:00 pm </option><option value="14:30">2:30 pm </option>
						<option value="15:00">3:00 pm </option><option value="15:30">3:30 pm </option>
						<option value="16:00">4:00 pm </option><option value="16:30">4:30 pm </option>
						<option value="17:00">5:00 pm </option><option value="17:30">5:30 pm </option>
						<option value="18:00">6:00 pm </option><option value="18:30">6:30 pm </option>
						<option value="19:00">7:00 pm </option><option value="19:30">7:30 pm </option>
						<option value="20:00">8:00 pm </option><option value="20:30">8:30 pm </option>
						<option value="21:00">9:00 pm </option><option value="21:30">9:30 pm </option>
						<option value="22:00">10:00 pm </option><option value="22:30">10:30 pm </option>
						<option value="23:00">11:00 pm </option><option value="23:30">11:30 pm </option>
					</select>	
				</div>
				<!--Descripcion del evento-->
				<div  class="divx">
					<label>Descripcion</label>
					<textarea name="txtdescripcion"></textarea>
				</div>
				<div  class="divx">
					<input type="button" onClick=" ValidarRegistroEvento(this.form)"  value="Aceptar" class="buttom">
				</div>	
			
		</div>	
	</form>
	<?php
		include("../layout/footer.php");
	?>
</div>	
</body>
</html>